cmake_minimum_required(VERSION 3.5.0)

project(ogl)

set(CMAKE_CXX_STANDARD 17)

file(GLOB local_src *.cpp)

set(lib_name ogl-chart)

add_library(${lib_name} ${local_src})
target_link_libraries(${lib_name} ogl-math ogl-gut )

target_include_directories(${lib_name} PUBLIC  ../../)

if(WIN32)
target_include_directories(${lib_name} PUBLIC ../../../include)
endif()